In [2]:
0.1 + 0.2
Out[2]:
In [3]:
0.1 + 0.2 - 0.3
Out[3]:
In [5]:
round (3.7654389, 3)
Out[5]:
In [6]:
round (3.7656789, 3)
Out[6]:
Note the round up.
In [7]:
round (3.7456789, 3)
Out[7]:
Let's try this with 2 decimal places.
In [8]:
round (3.7456789, 2)
Out[8]:
In [ ]: